package cn.zktr.Personnel.model.service.tanyali;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSONArray;

import cn.zktr.Personnel.model.dao.tanyali.EmaFebDao;
import cn.zktr.Personnel.model.mappers.tanyali.EmaFebMapper;
import cn.zktr.Personnel.model.pojos.PerEmaFeb;

@Service
@Transactional(rollbackOn=Exception.class)
public class EmaFebService {
	@Autowired
	private EmaFebMapper febmer;
	
	@Autowired
	private EmaFebDao febdao;
	
	public Iterable<PerEmaFeb> selectFebAll(){
		return febdao.findAll();
	}

	/**
	 * @return 招聘查询数据
	 */
	public JSONArray zpchaxunselect() {
		// TODO Auto-generated method stub
		return febmer.zpchaxunselect();
	}

	/**
	 * @return 招聘查询数据模糊查询
	 */
	public JSONArray zpkaoshichaxun(String rsename) {
		// TODO Auto-generated method stub
		return febmer.zpkaoshichaxun(rsename);
	}

	/**
	 * @return 培训查询数据
	 */
	public JSONArray pxchaxunselect() {
		// TODO Auto-generated method stub
		return febmer.pxchaxunselect();
	}

	
	/**
	 * @return 培训查询数据模糊查询
	 */
	public JSONArray pxkaoshichaxun(String empname) {
		// TODO Auto-generated method stub
		return febmer.pxkaoshichaxun(empname);
	}
	
	
	/**
	 * @return 升职查询数据
	 */
	public JSONArray szchaxunselect() {
		// TODO Auto-generated method stub
		return febmer.szchaxunselect();
	}
	
	/**
	 * @return 培训查询数据模糊查询
	 */
	public JSONArray szkaoshichaxun(String empname) {
		// TODO Auto-generated method stub
		return febmer.szkaoshichaxun(empname);
	}

}

	

